/**
 * Class类的用法
 */
package edu.gzz.SpecialClass;

import static java.lang.System.out;

/**
 * @author gzz
 *
 */
public class ClassClass {

	/**
	 * @param args
	 * @throws ClassNotFoundException 
	 */
	public static void main(String[] args) throws ClassNotFoundException {
		// 
		try {
			var b=Class.forName("edu.gzz.SpecialClass.ObjectClass");
			var obj=new Object();
			
			out.println(b.isInstance(obj));
			out.println(b.getName());
			out.print(b.getMethods());
			
		} catch (Exception e) {
			// 
			e.printStackTrace();
		}
	}

}
